export interface LoginRequestData {
  /** admin 或 editor */
  username: string,
  /** 密码 */
  password: string,
  aid: number,
  locale: String,
}

// 返回值 类型
export interface dataRes {
  token: string,
  username: string,
  nickname: string,
  avatar: string,
  level: number,
  country: number,
  bid: number,
  address: string,
  address1: string,
}

export type LoginCodeResponseData = ApiResponseData<string>

export type LoginResponseData = ApiResponseData<dataRes>
